﻿namespace ApiLib.Cloud.Models;

/// <summary>
/// 微服务配置
/// </summary>
public class ServiceConfig
{
    /// <summary>
    /// 网关地址
    /// </summary>
    public string ZuulUrl { get; set; }

    /// <summary>
    /// 是否是网关
    /// </summary>
    public bool IsZuul { get; set; } = false;

    /// <summary>
    /// 关键字，
    /// </summary>
    public string Key { get; set; }

    /// <summary>
    /// 服务名称：为服务时必填
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 服务路径
    /// </summary>
    public string Path { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string Description { get; set; }

    /// <summary>
    /// host
    /// </summary>
    public string Host { get; set; } = "";
}